home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 May / SGI IRIX 6.5 Complementary Applications 2004 May.iso / dist / OpenOffice.idb / usr / OpenOffice / program / defaults / pref / all.js.z / all.js
Encoding:
Text File  |  2003-07-29  |  38.0 KB  |  812 lines

  1. /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* ***** BEGIN LICENSE BLOCK *****
  3.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  4.  *
  5.  * The contents of this file are subject to the Netscape Public License
  6.  * Version 1.1 (the "License"); you may not use this file except in
  7.  * compliance with the License. You may obtain a copy of the License at
  8.  * http://www.mozilla.org/NPL/
  9.  *
  10.  * Software distributed under the License is distributed on an "AS IS" basis,
  11.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.  * for the specific language governing rights and limitations under the
  13.  * License.
  14.  *
  15.  * The Original Code is mozilla.org code.
  16.  *
  17.  * The Initial Developer of the Original Code is 
  18.  * Netscape Communications Corporation.
  19.  * Portions created by the Initial Developer are Copyright (C) 1998
  20.  * the Initial Developer. All Rights Reserved.
  21.  *
  22.  * Contributor(s):
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the NPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the NPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. // SYNTAX HINTS:  dashes are delimiters.  Use underscores instead.
  39. //  The first character after a period must be alphabetic.
  40.  
  41. pref("network.search.url","http://cgi.netscape.com/cgi-bin/url_search.cgi?search=");
  42.  
  43. pref("keyword.URL", "http://keyword.netscape.com/keyword/");
  44. pref("keyword.enabled", false);
  45. pref("general.useragent.locale", "chrome://navigator/locale/navigator.properties");
  46. pref("general.useragent.misc", "rv:1.0.2");
  47.  
  48. pref("general.startup.browser",             true);
  49. pref("general.startup.mail",                false);
  50. pref("general.startup.news",                false);
  51. pref("general.startup.editor",              false);
  52. pref("general.startup.compose",             false);
  53. pref("general.startup.addressbook",         false);
  54.  
  55. pref("general.open_location.last_url",      "");
  56. pref("general.open_location.last_window_choice", 0);
  57.  
  58. pref("backups.number_of_prefs_copies", 1);
  59.  
  60. // 0 = blank, 1 = home (browser.startup.homepage), 2 = last
  61. pref("browser.startup.page",                1);
  62. pref("browser.startup.homepage",       "chrome://navigator-region/locale/region.properties");
  63. pref("browser.startup.homepage.count", 1);
  64. // "browser.startup.homepage_override" was for 4.x
  65. pref("browser.startup.homepage_override.1", true);
  66. pref("browser.startup.autoload_homepage",   true);
  67.  
  68. pref("browser.cache.enable",                true); // see also network.http.use-cache
  69. pref("browser.cache.disk.enable",           true);
  70. pref("browser.cache.disk.capacity",         50000);
  71. pref("browser.cache.memory.enable",         true);
  72. pref("browser.cache.memory.capacity",       4096);
  73. pref("browser.cache.disk_cache_ssl",        false);
  74. // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically
  75. pref("browser.cache.check_doc_frequency",   3);
  76.  
  77. pref("browser.display.use_document_fonts",  1);  // 0 = never, 1 = quick, 2 = always
  78. pref("browser.display.use_document_colors", true);
  79. pref("browser.display.use_system_colors",   false);
  80. pref("browser.display.foreground_color",    "#000000");
  81. pref("browser.display.background_color",    "#FFFFFF");
  82. pref("browser.display.force_inline_alttext", false); // true = force ALT text for missing images to be layed out inline
  83. // 0 = no external leading,
  84. // 1 = use external leading only when font provides,
  85. // 2 = add extra leading both internal leading and external leading are zero
  86. pref("browser.display.normal_lineheight_calc_control", 2);
  87. pref("browser.display.show_image_placeholders", true); // true = show image placeholders while image is loaded and when image is broken
  88. pref("browser.anchor_color",                "#0000EE");
  89. pref("browser.visited_color",               "#551A8B");
  90. pref("browser.underline_anchors",           true);
  91. pref("browser.blink_allowed",               true);
  92.  
  93. pref("browser.display.use_focus_colors",    false);
  94. pref("browser.display.focus_background_color", "#117722");
  95. pref("browser.display.focus_text_color",     "#ffffff");
  96. pref("browser.display.focus_ring_width",     1);
  97. pref("browser.display.focus_ring_on_anything", false);
  98.  
  99. pref("browser.new_find", true);  // temporary
  100. pref("editor.new_find",  true);  // temporary
  101.  
  102. pref("browser.urlbar.autoFill", false);
  103. pref("browser.urlbar.showPopup", true);
  104. pref("browser.urlbar.showSearch", true);
  105. pref("browser.urlbar.matchOnlyTyped", false);
  106.  
  107. pref("browser.chrome.site_icons", true);
  108. pref("browser.chrome.favicons", false);
  109.  
  110. pref("browser.chrome.toolbar_tips",         true);
  111. pref("browser.chrome.toolbar_style",        2);
  112.  
  113. pref("browser.toolbars.showbutton.bookmarks", true);
  114. pref("browser.toolbars.showbutton.go",      false);
  115. pref("browser.toolbars.showbutton.home",    true);
  116. pref("browser.toolbars.showbutton.mynetscape", true);
  117. pref("browser.toolbars.showbutton.net2phone", true);
  118. pref("browser.toolbars.showbutton.print",   true);
  119. pref("browser.toolbars.showbutton.search",  true);
  120.  
  121. pref("browser.turbo.enabled", false);
  122. // pref("browser.turbo.singleProfileOnly", false);
  123.  
  124. pref("browser.helperApps.alwaysAsk.force",  false);
  125. pref("browser.helperApps.neverAsk.saveToDisk", "");
  126. pref("browser.helperApps.neverAsk.openFile", "");
  127.  
  128. pref("accessibility.browsewithcaret", false);
  129. pref("accessibility.warn_on_browsewithcaret", true);
  130. pref("accessibility.usetexttospeech", "");
  131. pref("accessibility.usebrailledisplay", "");
  132. pref("accessibility.accesskeycausesactivation", true);
  133.  
  134. // Dialog modality issues
  135. pref("browser.prefWindowModal", true);
  136. pref("browser.show_about_as_stupid_modal_window", false);
  137.  
  138. pref("browser.download.progressDnldDialog.keepAlive", true); // keep the dnload progress dialog up after dnload is complete
  139. pref("browser.download.progressDnldDialog.enable_launch_reveal_buttons", true);
  140.  
  141. // various default search settings
  142. pref("browser.search.defaulturl", "chrome://navigator-region/locale/region.properties");
  143. pref("browser.search.opensidebarsearchpanel", true);
  144. pref("browser.search.last_search_category", "NC:SearchCategory?category=urn:search:category:1");
  145. pref("browser.search.mode", 0);
  146. pref("browser.search.powermode", 0);
  147. // basic search popup constraint: minimum sherlock plugin version displayed
  148. // (note: must be a string representation of a float or it'll default to 0.0)
  149. pref("browser.search.basic.min_ver", "0.0");
  150. pref("browser.urlbar.autocomplete.enabled", true);
  151. pref("browser.urlbar.clickSelectsAll", true);
  152.  
  153. pref("browser.history.last_page_visited", "");
  154. pref("browser.history_expire_days", 9);
  155. pref("browser.history.grouping", "day");
  156. pref("browser.sessionhistory.max_entries", 50);
  157.  
  158. // Translation service
  159. pref("browser.translation.service", "http://www.teletranslator.com:8120/?AlisUI=frames_ex/moz_home&alis_info=moz&AlisTargetURI=");
  160. pref("browser.translation.serviceDomain", "teletranslator.com");
  161.   
  162. // Platform for Internet Content Selection
  163. pref("browser.PICS.ratings_enabled", false);
  164. pref("browser.PICS.pages_must_be_rated", false);
  165. pref("browser.PICS.disable_for_this_session", false);
  166. pref("browser.PICS.reenable_for_this_session", false);
  167. pref("browser.PICS.service.http___home_netscape_com_default_rating.service_enabled", true);
  168. pref("browser.PICS.service.http___home_netscape_com_default_rating.s", 0);
  169.  
  170. // loading and rendering of framesets and iframes
  171. pref("browser.frames.enabled", true);
  172.  
  173. // form submission
  174. pref("browser.forms.submit.backwards_compatible", true);
  175.  
  176. // Tab browser preferences.
  177. pref("browser.tabs.autoHide", true);
  178. pref("browser.tabs.forceHide", false);
  179. pref("browser.tabs.loadInBackground", false);
  180. pref("browser.tabs.opentabfor.middleclick", false);
  181. pref("browser.tabs.opentabfor.urlbar", false);
  182. pref("browser.tabs.opentabfor.windowopen", false);
  183. pref("browser.tabs.opentabfor.bookmarks", false);
  184.  
  185. // view source
  186. pref("view_source.syntax_highlight", true);
  187. pref("view_source.wrap_long_lines", false);
  188.  
  189. // gfx widgets
  190. pref("nglayout.widget.mode", 2);
  191. pref("nglayout.widget.gfxscrollbars", true);
  192.  
  193. // css2 hover pref
  194. pref("nglayout.events.showHierarchicalHover", false);
  195.  
  196. // dispatch left clicks only to content in browser (still allows clicks to chrome/xul)
  197. pref("nglayout.events.dispatchLeftClickOnly", true);
  198.  
  199. // whether or not to use xbl form controls
  200. pref("nglayout.debug.enable_xbl_forms", false);
  201.  
  202. // size of scrollbar snapping region
  203. pref("slider.snapMultiplier", 6);
  204.  
  205. // option to choose plug-in finder
  206. pref("application.use_ns_plugin_finder", false);
  207.  
  208. // Smart Browsing prefs
  209. pref("browser.related.enabled", true);
  210. pref("browser.related.autoload", 1);  // 0 = Always, 1 = After first use, 2 = Never
  211. pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
  212. pref("browser.related.disabledForDomains", "");
  213. pref("browser.goBrowsing.enabled", true);
  214.  
  215. // URI fixup prefs
  216. pref("browser.fixup.alternate.enabled", true);
  217. pref("browser.fixup.alternate.prefix", "www.");
  218. pref("browser.fixup.alternate.suffix", ".com");
  219.  
  220. //Internet Search
  221. pref("browser.search.defaultenginename", "chrome://communicator-region/locale/region.properties");
  222.  
  223. // Print header customization
  224. // Use the following codes:
  225. // &T - Title
  226. // &U - Document URL
  227. // &D - Date/Time
  228. // &P - Page Number
  229. // &PT - Page Number "of" Page total
  230. // Set each header to a string containing zero or one of these codes
  231. // and the code will be replaced in that string by the corresponding data
  232. pref("print.print_headerleft", "&T");
  233. pref("print.print_headercenter", "");
  234. pref("print.print_headerright", "&U");
  235. pref("print.print_footerleft", "&PT");
  236. pref("print.print_footercenter", "");
  237. pref("print.print_footerright", "&D");
  238. pref("print.show_print_progress", true);
  239.  
  240. // When this is set to false it means each window has its PrintSettings
  241. // and a change in one browser window does not effect the others
  242. pref("print.use_global_printsettings", true);
  243.  
  244. // This indicates whether it should use the native dialog or the XP Dialog50
  245. pref("print.use_native_print_dialog", false);
  246.  
  247. // Save the Printings after each print job
  248. pref("print.save_print_settings", true);
  249.  
  250. pref("print.whileInPrintPreview", true);
  251.  
  252. // Cache old Presentation when going into Print Preview
  253. pref("print.always_cache_old_pres", false);
  254.  
  255. // Enables you to specify the gap from the edge of the paper to the margin
  256. // this is used by both Printing and Print Preview
  257. pref("print.print_edge_top", 0); // 1/100 of an inch
  258. pref("print.print_edge_left", 0); // 1/100 of an inch
  259. pref("print.print_edge_right", 0); // 1/100 of an inch
  260. pref("print.print_edge_bottom", 0); // 1/100 of an inch
  261.  
  262. // Default Capability Preferences: Security-Critical! 
  263. // Editing these may create a security risk - be sure you know what you're doing
  264. //pref("capability.policy.default.barprop.visible.set", "UniversalBrowserWrite");
  265.  
  266. pref("capability.policy.default_policynames", "mailnews");
  267. pref("capability.policy.policynames", "");
  268.  
  269. pref("capability.policy.default.DOMException.code", "allAccess");
  270. pref("capability.policy.default.DOMException.message", "allAccess");
  271. pref("capability.policy.default.DOMException.name", "allAccess");
  272. pref("capability.policy.default.DOMException.result", "allAccess");
  273. pref("capability.policy.default.DOMException.toString", "allAccess");
  274.  
  275. pref("capability.policy.default.History.back", "allAccess");
  276. pref("capability.policy.default.History.current", "UniversalBrowserRead");
  277. pref("capability.policy.default.History.forward", "allAccess");
  278. pref("capability.policy.default.History.go", "allAccess");
  279. pref("capability.policy.default.History.item", "UniversalBrowserRead");
  280. pref("capability.policy.default.History.next", "UniversalBrowserRead");
  281. pref("capability.policy.default.History.previous", "UniversalBrowserRead");
  282. pref("capability.policy.default.History.toString", "UniversalBrowserRead");
  283.  
  284. pref("capability.policy.default.HTMLDocument.close", "allAccess");
  285. pref("capability.policy.default.HTMLDocument.open", "allAccess");
  286.  
  287. pref("capability.policy.default.Location.hash.set", "allAccess");
  288. pref("capability.policy.default.Location.href.set", "allAccess");
  289. pref("capability.policy.default.Location.reload", "allAccess");
  290. pref("capability.policy.default.Location.replace", "allAccess");
  291.  
  292. pref("capability.policy.default.Navigator.preference", "allAccess");
  293. pref("capability.policy.default.Navigator.preferenceinternal.get", "UniversalPreferencesRead");
  294. pref("capability.policy.default.Navigator.preferenceinternal.set", "UniversalPreferencesWrite");
  295.  
  296. pref("capability.policy.default.Window.blur", "allAccess");
  297. pref("capability.policy.default.Window.close", "allAccess");
  298. pref("capability.policy.default.Window.closed", "allAccess");
  299. pref("capability.policy.default.Window.Components", "allAccess");
  300. pref("capability.policy.default.Window.document", "allAccess");
  301. pref("capability.policy.default.Window.focus", "allAccess");
  302. pref("capability.policy.default.Window.frames", "allAccess");
  303. pref("capability.policy.default.Window.fullScreen", "noAccess");
  304. pref("capability.policy.default.Window.history", "allAccess");
  305. pref("capability.policy.default.Window.length", "allAccess");
  306. pref("capability.policy.default.Window.location", "allAccess");
  307. pref("capability.policy.default.Window.opener", "allAccess");
  308. pref("capability.policy.default.Window.parent", "allAccess");
  309. pref("capability.policy.default.Window.self", "allAccess");
  310. pref("capability.policy.default.Window.top", "allAccess");
  311. pref("capability.policy.default.Window.window", "allAccess");
  312.  
  313. // Restrictions on the DOM for mail/news - see bugs 66938 and 84545
  314. pref("capability.policy.mailnews.sites", "mailbox: imap: news:");
  315.  
  316. pref("capability.policy.mailnews.*.attributes.get", "noAccess");
  317. pref("capability.policy.mailnews.*.baseURI.get", "noAccess");
  318. pref("capability.policy.mailnews.*.data.get", "noAccess");
  319. pref("capability.policy.mailnews.*.getAttribute", "noAccess");
  320. pref("capability.policy.mailnews.*.getNamedItem", "noAccess");
  321. pref("capability.policy.mailnews.*.host.get", "noAccess");
  322. pref("capability.policy.mailnews.*.hostname.get", "noAccess");
  323. pref("capability.policy.mailnews.*.href.get", "noAccess");
  324. pref("capability.policy.mailnews.*.innerHTML.get", "noAccess");
  325. pref("capability.policy.mailnews.*.lowSrc.get", "noAccess");
  326. pref("capability.policy.mailnews.*.nodeValue.get", "noAccess");
  327. pref("capability.policy.mailnews.*.pathname.get", "noAccess");
  328. pref("capability.policy.mailnews.*.protocol.get", "noAccess");
  329. pref("capability.policy.mailnews.*.src.get", "noAccess");
  330. pref("capability.policy.mailnews.*.substringData.get", "noAccess");
  331. pref("capability.policy.mailnews.*.text.get", "noAccess");
  332. pref("capability.policy.mailnews.*.title.get", "noAccess");
  333. pref("capability.policy.mailnews.DOMException.toString", "noAccess");
  334. pref("capability.policy.mailnews.HTMLAnchorElement.toString", "noAccess");
  335. pref("capability.policy.mailnews.HTMLDocument.domain", "noAccess");
  336. pref("capability.policy.mailnews.HTMLDocument.URL", "noAccess");
  337. pref("capability.policy.mailnews.Location.toString", "noAccess");
  338. pref("capability.policy.mailnews.Range.toString", "noAccess");
  339. pref("capability.policy.mailnews.Window.blur", "noAccess");
  340. pref("capability.policy.mailnews.Window.focus", "noAccess");
  341. pref("capability.policy.mailnews.Window.innerWidth.set", "noAccess");
  342. pref("capability.policy.mailnews.Window.innerHeight.set", "noAccess");
  343. pref("capability.policy.mailnews.Window.moveBy", "noAccess");
  344. pref("capability.policy.mailnews.Window.moveTo", "noAccess");
  345. pref("capability.policy.mailnews.Window.name.set", "noAccess");
  346. pref("capability.policy.mailnews.Window.outerHeight.set", "noAccess");
  347. pref("capability.policy.mailnews.Window.outerWidth.set", "noAccess");
  348. pref("capability.policy.mailnews.Window.resizeBy", "noAccess");
  349. pref("capability.policy.mailnews.Window.resizeTo", "noAccess");
  350. pref("capability.policy.mailnews.Window.screenX.set", "noAccess");
  351. pref("capability.policy.mailnews.Window.screenY.set", "noAccess");
  352. pref("capability.policy.mailnews.Window.sizeToContent", "noAccess");
  353. pref("capability.policy.mailnews.document.load", "noAccess");
  354. pref("capability.policy.mailnews.XMLHttpRequest.channel", "noAccess");
  355. pref("capability.policy.mailnews.XMLHttpRequest.responseXML", "noAccess");
  356. pref("capability.policy.mailnews.XMLHttpRequest.responseText", "noAccess");
  357. pref("capability.policy.mailnews.XMLHttpRequest.status", "noAccess");
  358. pref("capability.policy.mailnews.XMLHttpRequest.statusText", "noAccess");
  359. pref("capability.policy.mailnews.XMLHttpRequest.abort", "noAccess");
  360. pref("capability.policy.mailnews.XMLHttpRequest.getAllResponseHeaders", "noAccess");
  361. pref("capability.policy.mailnews.XMLHttpRequest.getResponseHeader", "noAccess");
  362. pref("capability.policy.mailnews.XMLHttpRequest.open", "noAccess");
  363. pref("capability.policy.mailnews.XMLHttpRequest.send", "noAccess");
  364. pref("capability.policy.mailnews.XMLHttpRequest.setRequestHeader", "noAccess");
  365. pref("capability.policy.mailnews.XMLHttpRequest.readyState", "noAccess");
  366. pref("capability.policy.mailnews.XMLHttpRequest.overrideMimeType", "noAccess");
  367. pref("capability.policy.mailnews.XMLHttpRequest.onload", "noAccess");
  368. pref("capability.policy.mailnews.XMLHttpRequest.onerror", "noAccess");
  369. pref("capability.policy.mailnews.XMLHttpRequest.onreadystatechange", "noAccess");
  370. pref("capability.policy.mailnews.XMLSerializer.serializeToString", "noAccess");
  371. pref("capability.policy.mailnews.XMLSerializer.serializeToStream", "noAccess");
  372. pref("capability.policy.mailnews.DOMParser,parseFromString", "noAccess");
  373. pref("capability.policy.mailnews.DOMParser,parseFromStream", "noAccess");
  374. pref("capability.policy.mailnews.SOAPCall.transportURI", "noAccess");
  375. pref("capability.policy.mailnews.SOAPCall.verifySourceHeader", "noAccess");
  376. pref("capability.policy.mailnews.SOAPCall.invoke", "noAccess");
  377. pref("capability.policy.mailnews.SOAPCall.asyncInvoke", "noAccess");
  378. pref("capability.policy.mailnews.SOAPResponse.fault", "noAccess");
  379. pref("capability.policy.mailnews.SOAPEncoding.styleURI", "noAccess");
  380. pref("capability.policy.mailnews.SOAPEncoding.getAssociatedEncoding", "noAccess");
  381. pref("capability.policy.mailnews.SOAPEncoding.setEncoder", "noAccess");
  382. pref("capability.policy.mailnews.SOAPEncoding.getEncoder", "noAccess");
  383. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  384. pref("capability.policy.mailnews.SOAPEncoding.setDecoder", "noAccess");
  385. pref("capability.policy.mailnews.SOAPEncoding.getDecoder", "noAccess");
  386. pref("capability.policy.mailnews.SOAPEncoding.defaultEncoder", "noAccess");
  387. pref("capability.policy.mailnews.SOAPEncoding.defaultDecoder", "noAccess");
  388. pref("capability.policy.mailnews.SOAPEncoding.schemaCollection", "noAccess");
  389. pref("capability.policy.mailnews.SOAPEncoding.encode", "noAccess");
  390. pref("capability.policy.mailnews.SOAPEncoding.decode", "noAccess");
  391. pref("capability.policy.mailnews.SOAPEncoding.mapSchemaURI", "noAccess");
  392. pref("capability.policy.mailnews.SOAPEncoding.unmapSchemaURI", "noAccess");
  393. pref("capability.policy.mailnews.SOAPEncoding.getInternalSchemaURI", "noAccess");
  394. pref("capability.policy.mailnews.SOAPEncoding.getExternalSchemaURI", "noAccess");
  395. pref("capability.policy.mailnews.SOAPFault.element", "noAccess");
  396. pref("capability.policy.mailnews.SOAPFault.faultNamespaceURI", "noAccess");
  397. pref("capability.policy.mailnews.SOAPFault.faultCode", "noAccess");
  398. pref("capability.policy.mailnews.SOAPFault.faultString", "noAccess");
  399. pref("capability.policy.mailnews.SOAPFault.faultActor", "noAccess");
  400. pref("capability.policy.mailnews.SOAPFault.detail", "noAccess");
  401. pref("capability.policy.mailnews.SOAPHeaderBlock.actorURI", "noAccess");
  402. pref("capability.policy.mailnews.SOAPHeaderBlock.mustUnderstand", "noAccess");
  403. pref("capability.policy.mailnews.SOAPParameter", "noAccess");
  404. pref("capability.policy.mailnews.SOAPPropertyBagMutator.propertyBag", "noAccess");
  405. pref("capability.policy.mailnews.SOAPPropertyBagMutator.addProperty", "noAccess");
  406. pref("capability.policy.mailnews.SchemaLoader.load", "noAccess");
  407. pref("capability.policy.mailnews.SchemaLoader.loadAsync", "noAccess");
  408. pref("capability.policy.mailnews.SchemaLoader.processSchemaElement", "noAccess");
  409. pref("capability.policy.mailnews.SchemaLoader.onLoad", "noAccess");
  410. pref("capability.policy.mailnews.SchemaLoader.onError", "noAccess");
  411.  
  412. // Scripts & Windows prefs
  413. pref("browser.block.target_new_window",     false);
  414. pref("dom.disable_cookie_get",              false);
  415. pref("dom.disable_cookie_set",              false);
  416. pref("dom.disable_image_src_set",           false);
  417. pref("dom.disable_open_during_load",        false);
  418. pref("dom.disable_window_flip",             false);
  419. pref("dom.disable_window_move_resize",      false);
  420. pref("dom.disable_window_status_change",    false);
  421.  
  422. pref("dom.disable_window_open_feature.status",      false);
  423.  
  424. pref("javascript.enabled",                  true);
  425. pref("javascript.allow.mailnews",           false);
  426. pref("javascript.options.strict",           false);
  427. pref("javascript.options.showInConsole",    true);
  428. pref("javascript.strict_domain_checking",   false);
  429.  
  430. // advanced prefs
  431. pref("advanced.always_load_images",         true);
  432. pref("security.enable_java",                true);
  433. pref("css.allow",                           true);
  434. pref("advanced.mailftp",                    false);
  435. pref("image.animation_mode",                "normal");
  436.  
  437. pref("offline.startup_state",            0);
  438. pref("offline.send.unsent_messages",            0);
  439. pref("offline.download.download_messages",  0);
  440. pref("offline.prompt_synch_on_exit",            true);
  441. pref("offline.news.download.use_days",          0);
  442.  
  443. // If there is ever a security firedrill that requires
  444. // us to block certian ports global, this is the pref 
  445. // to use.  Is is a comma delimited list of port numbers
  446. // for example:
  447. //   pref("network.security.ports.banned", "1,2,3,4,5");
  448. // prevents necko connecting to ports 1-5 unless the protocol
  449. // overrides.
  450.  
  451. // Prevent using external protocol handlers for these schemes
  452. pref("network.protocol-handler.external.hcp", false);
  453. pref("network.protocol-handler.external.vbscript", false);
  454. pref("network.protocol-handler.external.javascript", false);
  455. pref("network.protocol-handler.external.ms-help", false);
  456. pref("network.protocol-handler.external.vnd.ms.radio", false);
  457.  
  458. pref("network.hosts.smtp_server",           "mail");
  459. pref("network.hosts.pop_server",            "mail");
  460. pref("network.protocols.useSystemDefaults",   false); // set to true if user links should use system default handlers
  461.  
  462. // <http>
  463. pref("network.http.version", "1.1");      // default
  464. // pref("network.http.version", "1.0");   // uncomment this out in case of problems
  465. // pref("network.http.version", "0.9");   // it'll work too if you're crazy
  466. // keep-alive option is effectively obsolete. Nevertheless it'll work with
  467. // some older 1.0 servers:
  468.  
  469. pref("network.http.proxy.version", "1.1");    // default
  470. // pref("network.http.proxy.version", "1.0"); // uncomment this out in case of problems
  471.                                               // (required if using junkbuster proxy)
  472.  
  473. // enable caching of http documents
  474. pref("network.http.use-cache", true);
  475.  
  476. // this preference can be set to override the socket type used for normal
  477. // HTTP traffic.  an empty value indicates the normal TCP/IP socket type.
  478. pref("network.http.default-socket-type", "");
  479.  
  480. pref("network.http.keep-alive", true); // set it to false in case of problems
  481. pref("network.http.proxy.keep-alive", true);
  482. pref("network.http.keep-alive.timeout", 300);
  483.  
  484. // limit the absolute number of http connections.
  485. pref("network.http.max-connections", 24);
  486.  
  487. // limit the absolute number of http connections that can be established per
  488. // host.  if a http proxy server is enabled, then the "server" is the proxy
  489. // server.  Otherwise, "server" is the http origin server.
  490. pref("network.http.max-connections-per-server", 8);
  491.  
  492. // if network.http.keep-alive is true, and if NOT connecting via a proxy, then
  493. // a new connection will only be attempted if the number of active persistent
  494. // connections to the server is less then max-persistent-connections-per-server.
  495. pref("network.http.max-persistent-connections-per-server", 2);
  496.  
  497. // if network.http.keep-alive is true, and if connecting via a proxy, then a
  498. // new connection will only be attempted if the number of active persistent
  499. // connections to the proxy is less then max-persistent-connections-per-proxy.
  500. pref("network.http.max-persistent-connections-per-proxy", 4);
  501.  
  502. // amount of time (in seconds) to suspend pending requests, before spawning a
  503. // new connection, once the limit on the number of persistent connections per
  504. // host has been reached.  however, a new connection will not be created if
  505. // max-connections or max-connections-per-server has also been reached.
  506. pref("network.http.request.max-start-delay", 10);
  507.  
  508. // http specific network timeouts (XXX currently unused)
  509. pref("network.http.connect.timeout",  30);    // in seconds
  510. pref("network.http.request.timeout", 120);    // in seconds
  511.  
  512. // Headers
  513. pref("network.http.accept.default", "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1");
  514.  
  515. pref("network.http.sendRefererHeader",      2); // 0=don't send any, 1=send only on clicks, 2=send on image requests as well
  516.  
  517. // This pref controls whether or not we send HTTPS referrers
  518. // cross domain.  By default, this is enabled for compatibility
  519. // with other browsers and many websites (see bug 141641).
  520. pref("network.http.sendSecureXSiteReferrer", true);
  521.  
  522. // Maximum number of consecutive redirects before aborting.
  523. pref("network.http.redirection-limit", 20);
  524.  
  525. // Enable http compression: comment this out in case of problems with 1.1
  526. pref("network.http.accept-encoding" ,"gzip, deflate, compress;q=0.9");
  527.  
  528. pref("network.http.pipelining"      , false);
  529. pref("network.http.proxy.pipelining", false);
  530.  
  531. // Always pipeling the very first request:  this will only work when you are
  532. // absolutely sure the the site or proxy you are browsing to/through support
  533. // pipelining; the default behavior will be that the browser will first make
  534. // a normal, non-pipelined request, then  examine  and remember the responce
  535. // and only the subsequent requests to that site will be pipeline
  536. pref("network.http.pipelining.firstrequest", false);
  537.  
  538. // Max number of requests in the pipeline
  539. pref("network.http.pipelining.maxrequests" , 4);
  540.  
  541. pref("network.http.proxy.ssl.connect",true);
  542. // </http>
  543.  
  544. // This preference controls whether or not internationalized domain names (IDN)
  545. // are handled.  IDN requires a nsIIDNService implementation.
  546. pref("network.enableIDN", true);
  547.  
  548. // This preference controls whether or not URLs with UTF-8 characters are
  549. // escaped.  Set this preference to TRUE for strict RFC2396 conformance.
  550. pref("network.standard-url.escape-utf8", true);
  551.  
  552. // Idle timeout for ftp control connections - 5 minute default
  553. pref("network.ftp.idleConnectionTimeout", 300);
  554.  
  555. // directory listing format - constants are defined in nsIDirectoryListing.idl
  556. // Do not set this to 0...
  557. pref("network.dir.format", 2);
  558.  
  559. // enables the prefetch service (i.e., prefetching of <link rel="next"> URLs).
  560. pref("network.prefetch-next", false);
  561.  
  562. // sspitzer:  change this back to "news" when we get to beta.
  563. // for now, set this to news.mozilla.org because you can only
  564. // post to the server specified by this pref.
  565. pref("network.hosts.nntp_server",           "news.mozilla.org");
  566.  
  567. pref("network.hosts.socks_server",          "");
  568. pref("network.hosts.socks_serverport",      1080);
  569. pref("network.hosts.socks_conf",            "");
  570. pref("network.image.imageBehavior",         0); // 0-Accept, 1-dontAcceptForeign, 2-dontUse
  571. pref("network.image.warnAboutImages",       false);
  572. pref("network.proxy.autoconfig_url",        "");
  573. pref("network.proxy.type",                  0);
  574. pref("network.proxy.ftp",                   "");
  575. pref("network.proxy.ftp_port",              0);
  576. pref("network.proxy.gopher",                "");
  577. pref("network.proxy.gopher_port",           0);
  578. pref("network.proxy.news",                  "");
  579. pref("network.proxy.news_port",             0);
  580. pref("network.proxy.http",                  "");
  581. pref("network.proxy.http_port",             0);
  582. pref("network.proxy.wais",                  "");
  583. pref("network.proxy.wais_port",             0);
  584. pref("network.proxy.ssl",                   "");
  585. pref("network.proxy.ssl_port",              0);
  586. pref("network.proxy.socks",                 "");
  587. pref("network.proxy.socks_port",            0);
  588. pref("network.proxy.socks_version",         5);
  589. pref("network.proxy.no_proxies_on",         "");
  590. pref("network.online",                      true); //online/offline
  591. pref("network.accept_cookies",              0);     // 0 = Always, 1 = warn, 2 = never
  592. pref("network.foreign_cookies",             0); // 0 = Accept, 1 = Don't accept
  593. pref("network.cookie.cookieBehavior",       3); // 0-Accept, 1-dontAcceptForeign, 2-dontUse, 3-p3p
  594. pref("network.cookie.disableCookieForMailNews", true); // disable all cookies for mail
  595. pref("network.cookie.warnAboutCookies",     false);
  596. pref("network.cookie.lifetime.enabled",     false);
  597. pref("network.cookie.lifetime.behavior",    0);
  598. pref("network.cookie.lifetime.days",        90);
  599.  
  600. // The following default value is for p3p medium mode.
  601. // See extensions/cookie/resources/content/p3p.xul for the definitions of low/medium/hi
  602. pref("network.cookie.p3p",                  "ffffaaaa");
  603. pref("network.cookie.p3plevel",             1); // 0=low, 1=medium, 2=high, 3=custom
  604.  
  605. pref("signon.rememberSignons",              true);
  606. pref("signon.expireMasterPassword",         false);
  607. pref("network.enablePad",                   false); // Allow client to do proxy autodiscovery
  608. pref("network.enableIDN",                   false); // Turn on/off IDN (Internationalized Domain Name) resolution
  609. pref("converter.html2txt.structs",          true); // Output structured phrases (strong, em, code, sub, sup, b, i, u)
  610. pref("converter.html2txt.header_strategy",  1); // 0 = no indention; 1 = indention, increased with header level; 2 = numbering and slight indention
  611. pref("wallet.captureForms",                 true);
  612. pref("wallet.notified",                     false);
  613. pref("wallet.TutorialFromMenu",             "chrome://navigator/locale/navigator.properties");
  614. pref("wallet.Server",                       "chrome://navigator/locale/navigator.properties");
  615. pref("wallet.Samples",                      "chrome://navigator/locale/navigator.properties");
  616. pref("wallet.version",                      "1");
  617. pref("wallet.enabled",                      true);
  618. pref("wallet.crypto",                       false);
  619. pref("wallet.crypto.autocompleteoverride",  false); // Ignore 'autocomplete=off' - available only when wallet.crypto is enabled. 
  620. pref("wallet.namePanel.hide",               false);
  621. pref("wallet.addressPanel.hide",            false);
  622. pref("wallet.phonePanel.hide",              false);
  623. pref("wallet.creditPanel.hide",             false);
  624. pref("wallet.employPanel.hide",             false);
  625. pref("wallet.miscPanel.hide",               false);
  626. pref("imageblocker.enabled",                true);
  627. pref("intl.accept_languages",               "chrome://navigator/locale/navigator.properties");
  628. pref("intl.accept_charsets",                "iso-8859-1,*,utf-8");
  629. pref("intl.collationOption",                "chrome://navigator-platform/locale/navigator.properties");
  630. pref("intl.menuitems.alwaysappendacceskeys","chrome://navigator/locale/navigator.properties");
  631. pref("intl.charsetmenu.browser.static",     "chrome://navigator/locale/navigator.properties");
  632. pref("intl.charsetmenu.browser.more1",      "chrome://navigator/locale/navigator.properties");
  633. pref("intl.charsetmenu.browser.more2",      "chrome://navigator/locale/navigator.properties");
  634. pref("intl.charsetmenu.browser.more3",      "chrome://navigator/locale/navigator.properties");
  635. pref("intl.charsetmenu.browser.more4",      "chrome://navigator/locale/navigator.properties");
  636. pref("intl.charsetmenu.browser.more5",      "chrome://navigator/locale/navigator.properties");
  637. pref("intl.charsetmenu.mailedit",           "chrome://navigator/locale/navigator.properties");
  638. pref("intl.charsetmenu.browser.cache",      "");
  639. pref("intl.charsetmenu.mailview.cache",     "");
  640. pref("intl.charsetmenu.composer.cache",     "");
  641. pref("intl.charsetmenu.browser.cache.size", 5);
  642. pref("intl.charset.detector",               "chrome://navigator/locale/navigator.properties");
  643. pref("intl.charset.default",                "chrome://navigator-platform/locale/navigator.properties");
  644. pref("intl.content.langcode",               "chrome://communicator-region/locale/region.properties");
  645. pref("intl.locale.matchOS",                 false);
  646. // fallback charset list for Unicode conversion (converting from Unicode)
  647. // currently used for mail send only to handle symbol characters (e.g Euro, trademark, smartquotes)
  648. // for ISO-8859-1
  649. pref("intl.fallbackCharsetList.ISO-8859-1", "windows-1252");
  650. pref("font.language.group",                 "chrome://navigator/locale/navigator.properties");
  651.  
  652. // -- folders (Mac: these are binary aliases.)
  653. localDefPref("mail.signature_file",             "");
  654. localDefPref("mail.directory",                  "");
  655.  
  656. pref("images.dither", "auto");
  657. localDefPref("news.directory",                  "");
  658. localDefPref("security.directory",              "");
  659.  
  660. pref("autoupdate.enabled",              true);
  661.  
  662. pref("browser.editor.disabled", false);
  663.  
  664. pref("spellchecker.dictionary", "");
  665.  
  666. pref("signed.applets.codebase_principal_support", false);
  667. pref("security.checkloaduri", true);
  668. pref("security.xpconnect.plugin.unrestricted", true);
  669.  
  670. // Modifier key prefs: default to Windows settings,
  671. // menu access key = alt, accelerator key = control.
  672. pref("ui.key.accelKey", 17);
  673. pref("ui.key.menuAccessKey", 18);
  674. pref("ui.key.menuAccessKeyFocuses", false);
  675. pref("ui.key.saveLink.shift", true); // true = shift, false = meta
  676.  
  677. // Middle-mouse handling
  678. pref("middlemouse.paste", false);
  679. pref("middlemouse.openNewWindow", true);
  680. pref("middlemouse.contentLoadURL", false);
  681. pref("middlemouse.scrollbarPosition", false);
  682.  
  683. // Clipboard behavior
  684. pref("clipboard.autocopy", false);
  685.  
  686. // 0=lines, 1=pages, 2=history , 3=text size
  687. pref("mousewheel.withnokey.action",0);
  688. pref("mousewheel.withnokey.numlines",1);    
  689. pref("mousewheel.withnokey.sysnumlines",true);
  690. pref("mousewheel.withcontrolkey.action",0);
  691. pref("mousewheel.withcontrolkey.numlines",1);
  692. pref("mousewheel.withcontrolkey.sysnumlines",true);
  693. pref("mousewheel.withshiftkey.action",0);
  694. pref("mousewheel.withshiftkey.numlines",1);
  695. pref("mousewheel.withshiftkey.sysnumlines",false);
  696. pref("mousewheel.withaltkey.action",2);
  697. pref("mousewheel.withaltkey.numlines",1);
  698. pref("mousewheel.withaltkey.sysnumlines",false);
  699.  
  700. pref("profile.confirm_automigration",true);
  701.  
  702. // the amount of time (in seconds) that must elapse
  703. // before we think your mozilla profile is defunct
  704. // and you'd benefit from re-migrating from 4.x
  705. // see bug #137886 for more details
  706. //
  707. // if -1, we never think your profile is defunct
  708. // and users will never see the remigrate UI.
  709. pref("profile.seconds_until_defunct", -1);
  710.  
  711. // Customizable toolbar stuff
  712. pref("custtoolbar.personal_toolbar_folder", "");
  713.  
  714. pref("sidebar.customize.all_panels.url", "http://sidebar-rdf.netscape.com/%LOCALE%/sidebar-rdf/%SIDEBAR_VERSION%/all-panels.rdf");
  715. pref("sidebar.customize.directory.url", "http://dmoz.org/Netscape/Sidebar/");
  716. pref("sidebar.customize.more_panels.url", "http://dmoz.org/Netscape/Sidebar/");
  717. pref("sidebar.num_tabs_in_view", 8);
  718.  
  719. pref("prefs.converted-to-utf8",false);
  720. // --------------------------------------------------
  721. // IBMBIDI 
  722. // --------------------------------------------------
  723. //
  724. // ------------------
  725. //  Text Direction
  726. // ------------------
  727. // 1 = directionLTRBidi *
  728. // 2 = directionRTLBidi
  729. pref("bidi.direction", 1);
  730. // ------------------
  731. //  Text Type
  732. // ------------------
  733. // 1 = charsettexttypeBidi *
  734. // 2 = logicaltexttypeBidi
  735. // 3 = visualtexttypeBidi
  736. pref("bidi.texttype", 1);
  737. // ------------------
  738. //  Controls Text Mode
  739. // ------------------
  740. // 1 = logicalcontrolstextmodeBidiCmd
  741. // 2 = visiualcontrolstextmodeBidi
  742. // 3 = containercontrolstextmodeBidi *
  743. pref("bidi.controlstextmode", 1);
  744. // ------------------
  745. //  Clipboard Text Mode
  746. // ------------------
  747. //  1 = logicalclipboardtextmodeBidi
  748. // 2 = visiualclipboardtextmodeBidi
  749. // 3 = sourceclipboardtextmodeBidi *
  750. pref("bidi.clipboardtextmode", 3);
  751. // ------------------
  752. //  Numeral Style
  753. // ------------------
  754. // 1 = regularcontextnumeralBidi *
  755. // 2 = hindicontextnumeralBidi
  756. // 3 = arabicnumeralBidi
  757. // 4 = hindinumeralBidi
  758. pref("bidi.numeral", 1);
  759. // ------------------
  760. //  Support Mode
  761. // ------------------
  762. // 1 = mozillaBidisupport *
  763. // 2 = OsBidisupport
  764. // 3 = disableBidisupport
  765. pref("bidi.support", 1);
  766. // ------------------
  767. //  Charset Mode
  768. // ------------------
  769. // 1 = doccharactersetBidi *
  770. // 2 = defaultcharactersetBidi
  771. pref("bidi.characterset", 1);
  772.  
  773.  
  774. pref("browser.throbber.url","chrome://navigator-region/locale/region.properties");
  775.  
  776. // used for double-click word selection behavior. Win will override.
  777. pref("layout.word_select.eat_space_to_next_word", false);
  778. pref("layout.word_select.stop_at_punctuation", true);
  779.  
  780. // pref to force frames to be resizable
  781. pref("layout.frames.force_resizability", false);
  782.  
  783. // pref to permit users to make verified SOAP calls by default
  784. pref("capability.policy.default.SOAPCall.invokeVerifySourceHeader", "allAccess");
  785.  
  786. // pref to control the alert notification 
  787. pref("alerts.slideIncrement", 1);
  788. pref("alerts.slideIncrementTime", 10);
  789. pref("alerts.totalOpenTime", 4000);
  790. pref("alerts.height", 50);
  791.  
  792. // update notifications prefs
  793. pref("update_notifications.enabled", true);
  794. pref("update_notifications.provider.0.frequency", 7); // number of days
  795. pref("update_notifications.provider.0.datasource", "chrome://communicator-region/locale/region.properties");
  796.  
  797. // 0 opens the download manager
  798. // 1 opens a progress dialog
  799. // 2 and other values, no download manager, no progress dialog. 
  800. pref("browser.downloadmanager.behavior", 1);
  801.  
  802. // if true, allow plug-ins to override internal imglib decoder mime types in full-page mode
  803. pref("plugin.override_internal_types", false);
  804. pref("plugin.expose_full_path",false); // if true navigator.plugins reveals full path
  805.  
  806. // if true, enable XSLT (if installed)
  807. pref("xslt.enabled", true);
  808.  
  809. // Help Windows NT, 2000, and XP dialup a RAS connection
  810. // when a network address is unreachable.
  811. pref("network.autodial-helper.enabled", false);
  812.